package com.goodving.guli.bt.model;

import android.os.Parcel;
import android.os.Parcelable;

import com.goodving.guli.bt.profile.scale.C3843c;

/**
 * Created by john on 2015/12/1.
 */
public class HwSyncDataStatus implements Parcelable {
    public static final Creator<HwSyncDataStatus> CREATOR;
    public static final int f19658a = -1;
    public static final int f19659b = 2;
    public static final int f19660c = 3;
    public static final int f19661d = 4;
    public int f19662e;
    public int f19663f;
    public boolean f19664g;
    public C3843c f19665h;

    static {
        CREATOR = new C3916n();
    }

    public HwSyncDataStatus() {
        this.f19662e = f19658a;
        this.f19663f = 0;
        this.f19664g = true;
        this.f19665h = C3843c.MILI;
    }

    public HwSyncDataStatus(int i, int i2) {
        this.f19662e = f19658a;
        this.f19663f = 0;
        this.f19664g = true;
        this.f19665h = C3843c.MILI;
        this.f19662e = i;
        this.f19663f = i2;
    }

    public HwSyncDataStatus(int i, int i2, boolean z) {
        this.f19662e = f19658a;
        this.f19663f = 0;
        this.f19664g = true;
        this.f19665h = C3843c.MILI;
        this.f19662e = i;
        this.f19663f = i2;
        this.f19664g = z;
    }

    public HwSyncDataStatus(C3843c c3843c) {
        this.f19662e = f19658a;
        this.f19663f = 0;
        this.f19664g = true;
        this.f19665h = C3843c.MILI;
        this.f19665h = c3843c;
    }

    public void m25413a(C3843c c3843c) {
        this.f19665h = c3843c;
    }

    public boolean m25414a() {
        return this.f19662e == f19658a;
    }

    public boolean m25415b() {
        return this.f19662e == f19659b;
    }

    public boolean m25416c() {
        return this.f19662e == f19660c;
    }

    public boolean m25417d() {
        return this.f19662e == f19661d;
    }

    public int describeContents() {
        return 0;
    }

    public boolean m25418e() {
        return this.f19662e == f19659b || this.f19662e == f19660c;
    }

    public int m25419f() {
        return this.f19663f;
    }

    public boolean m25420g() {
        return this.f19664g;
    }

    public C3843c m25421h() {
        return this.f19665h;
    }

    public String toString() {
        return this.f19662e + " : " + this.f19663f + " : " + this.f19664g;
    }

    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeInt(this.f19662e);
        parcel.writeInt(this.f19663f);
        parcel.writeInt(this.f19664g ? 1 : 0);
        parcel.writeSerializable(this.f19665h);
    }
}
